<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户个人信息页面</title>
</head>
<body>
<center>
    <form action="./updateUser.do" method="get">

        <h1>用户个人信息</h1>
        <table border="1">
            <tr>
                <td>用户名：</td>   <!--readonly 属性表示该标签中的内容只读-->
                <td><input name="username" th:value="${name}" type="text" readonly></td>
            </tr>

            <tr>
                <td>密码：</td>
                <td><input name="password" th:value="${pwd}" type="text"></td>
            </tr>
            <tr>
                <td>昵称：</td>
                <td><input name="nikename" th:value="${nikename}" type="text"></td>
            </tr>

            <tr>
                <td>年龄：</td>
                <td><input name="age" th:value="${age}" type="text"></td>

            </tr>
            <tr>
                <td colspan="2" align="center">
<!--                    <input type="button" value="注册">   没有提交功能-->
                    <input type="submit" value="确认修改">
                </td>
            </tr>

        </table>

    </form>
    <h3><a href="./showAllData.do">返回</a></h3>
</center>

</body>
</html>